<!-- 用能排名 -->

<template>
  <EasyCard class="EnergyOverview-BottomRank" noScroll>
    <template #title>
      <CardTitle title="用能排名">
        <ParamRadio :param="infoParam" bind="statisticType" :dict="DICT.CATEGORY" isBtn @change="startInfo" />
      </CardTitle>
    </template>

    <RankList />

    <template #footer>
      <CardFooter />
    </template>
  </EasyCard>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import store from './store'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'BottomRank',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store), CORE.mixLoop(), CORE.mixApiMenu('用能排名')],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(
    require.context('../components', true, /vue$/),
    require.context('./', true, /vue$/),
  ),
}
</script>

<style lang="scss">
@import './index.scss';
</style>
